package com.example.springbook.model;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("/Test")
@RestController
public class ResultTest {
    @RequestMapping("/t1")
    public String t1(){
        return "string";
    }
    @RequestMapping("/t2")
    public Integer t2(){
        return 1;
    }
    @RequestMapping("/t3")
    public Boolean t3(){
        return true;
    }
}
